package yunquan.wang.base.service.impl;

import java.util.List;
import java.util.Map;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpSession;

import yunquan.wang.base.service.UpgradeSystem;


public class UpgradeSystemImpl implements UpgradeSystem {

	/**
	 *将所有登录的用户全部登出，并限制用户登录
	 */
	@Override
	public void lockSystem() {
		 logOutAlluser();
		 //将系统的锁住，禁止任何人操作
		
	}

	private void logOutAlluser(){
	 HttpSession session;
	HttpServletRequest request;
	};
	
	@Override
	public void backUpDatabase() {
		// TODO Auto-generated method stub
		
	}

	@Override
	public Map<String, List<String>> unZipgrade() {
		// TODO Auto-generated method stub
		return null;
	}

	@Override
	public void upgradeDatabase() {
		// TODO Auto-generated method stub
		
	}

	@Override
	public void restore() {
		// TODO Auto-generated method stub
		
	}

}
